package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageRequestDto;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.SensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {
    /**
     * 查询所有敏感词
     */
    public ResponseResult list(SensitiveDto dto);

    /**
     * 保存敏感词
     * @param wmSensitive
     * @return
     */
    public ResponseResult saveSensitive(WmSensitive wmSensitive);

    /**
     * 删除敏感词
     * @param id
     * @return
     */
    public ResponseResult deleteSeneitive(Integer id);

    /**
     * 修改敏感词
     * @param wmSensitive
     * @return
     */
    public ResponseResult updateSemsitive(WmSensitive wmSensitive);
}
